package core.hxl.controller;

import core.hxl.entity.UserImei;
import core.hxl.service.UserImeiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;

@RestController
@RequestMapping("api")
public class ApiController {

    @Autowired
    private UserImeiService userImeiService;

    @GetMapping("/get")
    public List<UserImei> get(){
        return userImeiService.getUserImeiList(null,0,1);
    }

}
